package com.yixun;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling //启动定时任务
@EnableAsync
public class BreakdownApplication {

    public static void main(String[] args) throws Exception {
        //这个程序产生的数据用于main程序来消费，
        //kafka都是breakdow站点故障告警
        //redis分了三种类型告警，判断是否超过12个通道没有数据，温差跟30相比较，判断站点是否有通道连续20条数据都为空
        SpringApplication.run(BreakdownApplication.class, args);
    }

}
